<template>
  <div>
    <!-- 二级出口 -->
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
    
    <van-tabbar v-model="active" route>
      <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/lookHome">找房</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/consult">咨询</van-tabbar-item>
      <van-tabbar-item icon="setting-o" to="/user">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: '',
  data() {
    return {
      active: 0,
    }
  },
}
</script>

<style scoped lang="less"></style>
